<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:p="http://primefaces.prime.com.tr/ui"
	
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:ez="http://java.sun.com/jsf/composite/demo"
	
	>

	<!-- <ui:composition template="/templates/common.xhtml">

		<ui:define name="pageTitle">Input User Name</ui:define>

		<ui:define name="pageHeader">JSF 2 Hello Application</ui:define>

		
	</ui:composition> -->
	
	<h:head></h:head>
  
	<h:body>
	
	<p:menubar>  
	    <p:submenu icon="appleIcon" label=" ">  
	        <p:menuitem value="About This Mac" url="#" onclick="info.show();"></p:menuitem>  
	    </p:submenu>  
	              
	    <p:submenu label="Finder">  
	        <p:menuitem value="About Finder" url="#" styleClass="open"></p:menuitem>  
	    </p:submenu>  
	      
	    <p:submenu label="Edit">  
	        <p:menuitem value="Undo" url="#" styleClass="undo" helpText="⌘Z"></p:menuitem>  
	        <p:menuitem value="Redo" url="#" styleClass="redo" helpText="⌘Y"></p:menuitem>  
	    </p:submenu>  
	      
	    <p:submenu label="View">  
	        <p:menuitem value="Source" url="#" onclick="source.show();"></p:menuitem>  
	    </p:submenu>  
	</p:menubar>  
	
	
	<ui:define name="body">
		<h:message showSummary="true" showDetail="false" style="color: red; font-weight: bold;" for="inputname" />
		<ez:input id="inputname" label="${msgs.prompt}" value="#{user.name}" action="#{user.sayHello}" submitlabel="Say Hello"/>
	</ui:define>

	<!--<p:spinner label="Contador:" title="Title"></p:spinner> -->
	
	<!-- 
	<p:accordionPanel>

		<p:tab title="First Tab Title">
			<h:outputText value="Lorem" />
		</p:tab>

		<p:tab title="Second Tab Title">
			<h:outputText value="Ipsum" />
		</p:tab>
	
	</p:accordionPanel> -->
	
	<h:inputText value="#{user.teste}" >
	</h:inputText>
	
</h:body>
	
	</html>